import java.util.Date;

public class Profile {
	public static int profileId = 0;
	private String name;
	private String address;
	private String email;
	private Date dob;
	private int contact;

	public Profile() {
		profileId++;
		name = "ProfileName" + profileId;
		address = "ProfileAddress" + profileId;
		email = "profileEmail" + profileId + "@gmail.com";
		dob = new Date(2011, 11, 22);
		contact = 408821112 + profileId;
	}

	public int getProfileId() {
		return profileId;
	}

	public void setProfileId(int profileId) {
		Profile.profileId = profileId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getDob() {
		return dob;
	}

	public void setDob(Date dob) {
		this.dob = dob;
	}

	public int getContact() {
		return contact;
	}

	public void setContact(int contact) {
		this.contact = contact;
	}

	public void displayProfileDetails() {
		System.out.println("\nProfile Information");
		System.out.println("Name: " + name);
		System.out.println("Address: " + address);
		System.out.println("Email: " + email);
		System.out.println("DOB:" + dob);
		System.out.println("Contact: " + contact);
	}

}
